home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 18060 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  748 b 

  1. Path: mail2news.demon.co.uk!j-bg.demon.co.uk
  2. From: John Sargent <jb@j-bg.demon.co.uk>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: bitfield
  5. Date: Thu, 18 Apr 96 18:08:36 GMT
  6. Message-ID: <829850916snz@j-bg.demon.co.uk>
  7. References: <3172B547.1F54@braunschweig.netsurf.de>
  8. Reply-To: jb@j-bg.demon.co.uk
  9. X-NNTP-Posting-Host: j-bg.demon.co.uk
  10. X-Newsreader: Demon Internet Simple News v1.29
  11. X-Mail2News-Path: j-bg.demon.co.uk
  12.  
  13. In article <3172B547.1F54@braunschweig.netsurf.de>
  14.            luecking@braunschweig.netsurf.de "Dieter Lcking" writes:
  15.  
  16. > Problem:
  17. >         struct BITS
  18. >         {
  19. >           int bits : 3;
  20. >         };
  21. >         BITS array[8];
  22. > How much memory needs array ?
  23. > Danke Dieter
  24.  
  25.  
  26.  
  27. 8 * sizeof(int)
  28.  
  29.  
  30.  
  31.  
  32. Regards,
  33. John Sargent
  34.